package com.cargo.base.servlet;

import com.cargo.base.servlet.bean.BaseResponseBean;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * APP接口的协议传输接口
 * 
 */
public interface ITransmission {

	public String resv(HttpServletRequest request);

	public void resp(HttpServletResponse response, BaseResponseBean brb);
	
	public void resp(HttpServletResponse response, Map<String, Object> respMap);

	public void respJsonp(HttpServletResponse response, String jsonpFunctionName, String json);

}
